﻿<Window x:Class="MDCAdminTool.Controls.NewCacheHostWin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib" 
    xmlns:MDCAdminTool="clr-namespace:MDCAdminTool;assembly=E4D.AppFabric.Entities" 
    Title="New Host Name" Height="280" Width="300"
    WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner">
    <DockPanel Margin="8">

        <Button Name="Newbtn" DockPanel.Dock="Bottom"
         Click="Newbtn_Click"
         Height="23" HorizontalAlignment="Right"  Margin="3,7,3,3"  
         VerticalAlignment="Bottom" Width="75">New</Button>

        <GroupBox>
            <GroupBox.Header>
                <StackPanel Orientation="Horizontal">
                    <StaticResource ResourceKey="GetHostConfig16" />
                    <TextBlock Text="Host Name Config" Margin="5,0,0,0"/>
                </StackPanel>
            </GroupBox.Header>
            <UniformGrid Columns="2" Rows="6" >

                <TextBlock Margin="3" ToolTip="The name of the cache node.">Host Name:</TextBlock>
                <TextBox Name="tbHostName" Margin="3" Height="23"/>
                <TextBlock Margin="3" ToolTip="Port number of the cache node.">Cache Port:</TextBlock>
                <TextBox Name="tbCachePort" Text="22233" Margin="3" Height="23" IsEnabled="False" />
            </UniformGrid>
        </GroupBox>

    </DockPanel>
</Window>
